package org.beynet.jsonbinding.parser.types;

import org.beynet.jsonbinding.parser.JSONParsingException;

public class JSONMember {
    public JSONMember(String name,Object value) throws JSONParsingException {
        this.name=name;
        this.value = value;
    }
    
    /**
     * @return the name of this json element
     */
    public String getName() {
        return name;
    }
    public Object getValue() {
        return value;
    }
    
    private String name  ;
    private Object value ;
}
